/**  
 * @Title: aa.java
 * @Description: TODO(描述)
 * @author liuyi
 * @date 2023-04-27 08:42:32 
 */
package com.fsxgt.datagrid.core.page;



import com.github.pagehelper.IPage;

import lombok.Data;

@Data
public class PageParam<T> implements IPage {
	// description="页码",defaultValue=1
	private Integer pageNum = 1;

	// description="页数",defaultValue=20
	private Integer pageSize = 20;

	// description="排序",example="iddesc"
	private String orderBy;

	// description="参数"
	private T param;

	public PageParam<T> setOrderBy(String orderBy) {
		this.orderBy = orderBy;// 此处可优化优化详情且看解析
		return this;
	}

}